using Domain.Dto;
using Surging.Core.CPlatform.Ioc;
using System.Threading.Tasks;

namespace Domain.Interface
{
    public interface IRoleDomainService : IServiceKey
    {
        /// <summary>
        /// 创建角色
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task Create(RoleCreateInput input);

        /// <summary>
        /// 更新角色
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task Update(RoleUpdateInput input);
    }
}
